html,
body,
#root,
.App {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: #5d555d;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0 !important;
  margin: 0 !important;
}
.header {
  height: 200px;
  display: flex;
  align-items: center;
  background-color: #3a3c3d;
  padding: 10px 20px;
  .logo {
    stroke: red;
    color: white;
    fill: none;
    stroke-width: 20;
    animation: logo 5s linear infinite;
  }
  .header-content {
    color: white;
    margin-left: 10px;
    h5,
    h6 {
      padding: 0;
      margin: 0;
    }
  }
}
.container-box {
  background-color: #5d555d;
  display: flex;
  width: 100%;
  height: 100%;
  margin-top: 10px;
  flex: 1;
  .content-left {
    padding: 0 5px;
    flex: 0 0 860px;
    width: 860px;
  }
  .content-center {
    flex: 1;
    flex-direction: column;
    display: flex;
    .box {
      width: 100%;
      height: 100%;
      display: flex;
    }
    .CenterTopBox {
      display: flex;
      justify-content: space-around;
      background-color: #333335;
    }
    .CenterTop {
      height: 230px;
      color: white;

      display: flex;
      align-items: center;
      .centerTopLogo {
        width: 230px;
        height: 230px;
        fill: yellowgreen;
      }
      .content {
        padding: 10px 0;
      }
    }
    .center-top1 {
      height: 50px;
      line-height: 50px;
      font-size: 40px;
      margin-top: 10px;
      .center-top1 li,
      .center-top1 ul {
        padding: 0 !important;
        margin: 0 !important;
      }
      .transformCategory-li {
        padding: 0;
      }
      .transformCategory {
        height: 100%;
      }
    }
    .left {
      flex: 1;
    }
    .right {
      flex: 0 0 860px;
      width: 860px;
      margin-top: 20px;
    }
    .base-scroll-list-rows,
    .base-scroll-list-rows ul {
      width: 100%;
    }
    .mapChart {
      height: 999px;
      background-color: purple;
    }
  }
}

*::before,
*::after {
  box-sizing: border-box;
}
@keyframes logo {
  0% {
    // 通过path.getTotalLength方法获取长度
    stroke-dasharray: 650;
    stroke-dashoffset: 650;
    fill: white;
  }
  50% {
    fill: white;
    stroke-dasharray: 650;
    stroke-dashoffset: 0;
  }
  75% {
    fill: red;
    stroke: white;
  }
  100% {
    fill: blue;
    stroke: white;
  }
}
.subTitle {
  font-size: 30px !important;
}
.subTitle1 {
  font-size: 60px;
}
.base-scroll-list-header {
  font-size: 30px !important;
  height: 80px;
  padding: 20px;
}
.base-scroll-list {
  height: 999px;
}
.base-scroll-list-rows {
  padding: 10px;
}
.UsersCount {
  background-color: #3a3c3d;
  color: white;
  padding: 30px;
  // height: 220px;
  .green {
    color: greenyellow;
  }
  .line-wrapper {
    width: 100%;
    height: 10px;
    border: 1px solid white;
    margin-top: 10px;
    .inner {
      width: 12%;
      height: 100%;
      background-color: #888;
      transition: all 1s linear;
    }
  }
}

.UsersAge {
  background-color: #3a3c3d;
  color: white;
  padding: 30px 50px 30px 30px;
  margin-top: 10px;
  position: relative;
  h3 {
    position: absolute;
    top: 10px;
    right: 50px;
  }
  .age-item {
    font-size: 40px;
  }

  .ChartLinesBox {
    padding-left: 70px;
  }
  .ageType {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .cir {
    background-color: greenyellow;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-right: 5px;
  }
  .cirBox {
    font-size: 30px;
    display: flex;
    align-items: center;
  }
}

.sui {
  position: absolute;
  right: 100px;
  top: 10px;
}

.UsersSex {
  height: 220px;
  background-color: #3a3c3d;
  color: white;
  padding: 30px 10px;
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .sex-logo {
    width: 100px;
    height: 100px;
    fill: yellowgreen;
    border: 2px solid yellowgreen;
    padding: 9px;
    border-radius: 50%;
    margin-right: 10px;
    animation: sex-logo 5s linear infinite;
  }
  .maleBox {
    display: flex;
    align-items: center;
  }
}

@keyframes sex-logo {
  from {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.Device {
  background-color: #3a3c3d;
  color: white;
  // height: 220px;
  padding: 30px;
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  .device-title {
    display: flex;
    align-items: center;
  }
  .ageType {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cir {
    background-color: greenyellow;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 5px;
  }
  .cirBox {
    font-size: 10px;
    display: flex;
    align-items: center;
  }
  .titleBox {
    flex: 1;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.MonthlyOverview {
  background-color: #3a3c3d;
  color: white;
  margin-top: 10px;
  position: relative;
  height: 360px;
  padding: 30px;
}

.HotSellingCategories {
  background-color: #3a3c3d;
  color: white;
  margin-top: 10px;
  position: relative;
  height: 500px;
  padding: 30px;
}

.Order {
  background-color: #3a3c3d;
  color: white;
  margin-top: 10px;
  position: relative;
  width: 100%;
  display: flex;
  padding: 30px;
  height: 300px;
  position: relative;
  svg {
    position: absolute;
    top: 0;
    left: 0;
  }
  .title {
    width: 300px;
  }
  .chart {
    flex: 1;
  }
}
.echarts-for-react div {
  width: 100% !important;
}

.CenterMap {
  background-color: #3a3c3d;
  color: white;
  margin-top: 10px;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  padding: 5px 10px;
}

.CenterFoot {
  background-color: #3a3c3d;
  color: white;
  margin-top: 10px;
  position: relative;
  width: 100%;
  height: 300px;
  padding: 5px 10px;
}

.RightFoot {
  background-color: #3a3c3d;
  color: white;
  margin-top: 10px;
  width: 100%;
  height: 700px;
}
